package cn.jiyun.controller;


import cn.jiyun.common.config.Result;
import cn.jiyun.entity.XmDistributionPay;
import cn.jiyun.service.IXmDistributionPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author author
 * @since 2024-11-25
 */
@RestController
@RequestMapping("/xm-user-login/xm-distribution-pay")
public class XmDistributionPayController {

    @Autowired
    private IXmDistributionPayService xmDistributionPayService;

    @RequestMapping("/findPage3")
    public Result findPage(@RequestBody XmDistributionPay xmDistributionPay){
        List<XmDistributionPay> list = xmDistributionPayService.findList(xmDistributionPay);
        return Result.ok(list);
    }

}
